package com.studerb.service;

/**
 * Simple bean object representing the parts returned from parsing a typical
 * multipart NNTP subject which includes its min and max part numbers The
 * threadedSubject attribute represents the subject after its multipart chars
 * have been removed - (xx/yy) OR [xx/yy] at the end of the post, usually
 * 
 */
public class ParsedSubject {
	private String threadedSubject;
	private int currentPart;
	private int maxPart;

	public ParsedSubject(String subject, int current, int max) {
		this.threadedSubject = subject;
		this.currentPart = current;
		this.maxPart = max;
	}

	public int getCurrentPart() {
		return currentPart;
	}

	public int getMaxPart() {
		return maxPart;
	}

	public String getThreadedSubject() {
		return threadedSubject;
	}

	public void setCurrentPart(int currentPart) {
		this.currentPart = currentPart;
	}

	public void setMaxPart(int maxPart) {
		this.maxPart = maxPart;
	}

	public void setThreadedSubject(String threadedSubject) {
		this.threadedSubject = threadedSubject;
	}

}
